from .. import db
from datetime import datetime

class SelfFillform(db.Model):
    __tablename__ = 'self_fillform'
    
    id = db.Column(db.Integer, primary_key=True)
    task_name = db.Column(db.String(100), nullable=False)
    excel = db.Column(db.LargeBinary, nullable=False)
    login_user = db.Column(db.String(100), nullable=False)
    login_pwd = db.Column(db.String(50), nullable=False)
    create_date = db.Column(db.DateTime, nullable=False, default=datetime.now)
    exec_status = db.Column(db.String(10), nullable=False)